<template>
	<view class="page">
    <!-- #ifndef APP-PLUS -->
    <text>请在APP上运行查看</text>
    <!-- #endif -->
    <!-- #ifdef APP-PLUS -->
    <view class="item" v-for="(item, index) in deviceInfo" :key="index">
      {{ index }}：{{ item }}
    </view>
    <!-- #endif -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
        deviceInfo: this.$$d
			};
		},
		
		onLoad() {
      for(let key in this.$$d) {
        let item = this.$$d[key];
        this.deviceInfo[key] = typeof item === 'object' ? JSON.stringify(item) : item;
      }
		},
		
		methods:{
 		}
	}
</script>

<style lang="scss" scoped>
.page{
  width: 100vw;
  padding: 24rpx 24rpx;
  @include page;
  /* #ifdef H5 */
  display: flex;
  align-items: center;
  justify-content: center;
  /* #endif */
}
</style>
